package com.springboot.auth.authorization.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot.auth.authorization.entity.param.LogininfoQueryParam;
import com.springboot.auth.authorization.entity.po.Logininfo;

import java.util.Set;

/**
 * Created by ZengJian on 2021/2/3 0003 上午 9:22
 */
public interface ILogininfoService extends IService<Logininfo> {

    boolean add(Logininfo logininfo);


    boolean getLogininfo(String id);

    Logininfo get(String id);


    boolean delete(Set<String> ids);

    IPage<Logininfo> query(Page page, LogininfoQueryParam logininfoQueryParam);

    boolean update(Logininfo logininfo);
}
